package com.sky.cloudbabaservice.convert;

import com.sky.cloudbabaservice.entity.Stocks;
import com.sky.cloudbabaserviceapi.bo.StocksBo;
import com.sky.cloudbabaserviceapi.dto.StocksDto;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface StocksConvert {

    StocksConvert INSTANCE = Mappers.getMapper(StocksConvert.class);

    Stocks dto2po(StocksDto stocksDto);

    StocksBo po2bo(Stocks stocks);
}
